package com.eversec.msg.util.props;

/**
 * Created by eversec on 2018/2/26.
 */
public class PropertiesInfo {


    // 设置读取的配置文件
    public static PerseusProps props = new PerseusProps("/def.properties");


    //生产者地址
    public static final String KAFKA_PRODUCER_HOST = props.get("kafka_producer_host");

    //消费者地址
    public static final String KAFKA_CONSUMER_HOST = props.get("kafka_consumer_host");

    // 快照保存目录
    public static final String SNAPSHOOT_STORE_LOCAL_DIR = props.get("snapshoot-store-local-dir");

    // 自动拨测天数 默认值1
    public static final int AUTO_DIAL_DAYS = props.getInt("auto-dial-days", 1);
}

